<?php
defined('IN_DESTOON') or exit('Access Denied');
require DT_ROOT.'/module/'.$module.'/common.inc.php';
if(!check_group($_groupid, $MOD['group_index'])) {
	$head_title = lang('message->without_permission');
	include template('noright', 'message');
	exit;
}
$typeid = isset($typeid) ? intval($typeid) : 99;
isset($TYPE[$typeid]) or $typeid = 99;
$dtype = $typeid != 99 ? " AND typeid=$typeid" : '';
$rlevels = array("4.8级","6.8级","8.8级","9.8","10.9","12.9","13.9","14.9","4级","5级","6级","8级","9级","10级","12级","14级","A2-50","A2-70","A4-70","A4-80","加硬","其它等级");
$surfaces = array("镀蓝白锌", "镀彩锌", "镀黑锌","镀镍","镀环保白锌","镀环保蓝锌","镀环保彩锌","镀环保黑锌","达克罗", "热浸锌","钝化","发黑","烤漆","镀铜","抛光","氧化","镀铬","其它表面处理");
$standardo = cache_read('module-'.$moduleid.'.php');
$standardt = $standardo['type'];
$standards = explode('|',$standardt);
$maincat = get_maincat($catid ? $CAT['parentid'] :  0, $moduleid);
$mainapl = get_mainapl($applyid ? $CAT['parentid'] :  0,$aplopen, $moduleid);
//print_r($surface);
$seo_file = 'index';
include DT_ROOT.'/include/seo.inc.php';
if($catid) $seo_title = $seo_catname.$seo_title;
if($typeid != 99) $seo_title = $TYPE[$typeid].$seo_delimiter.$seo_title;
if($page == 1) $head_canonical = $MOD['linkurl'];
$destoon_task = "moduleid=$moduleid&html=index";
include template('index', $module);
?>